]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Remove excess parameter
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 18 Sep 2017 17:37:07 +0000 (19:37 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Sep 2017 18:07:21 +0000 (20:07 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=787907

js/ui/windowManager.js

index 16e55fbe9164aaf65ae3f9c439928beab326e655..dbc2acf3df5ef823f3662585e0a86b3a9f78d765 100644 (file)
@@ -516,7 +516,7 @@ var TouchpadWorkspaceSwitchAction = new Lang.Class({
             return Clutter.EVENT_PROPAGATE;
 
         if (event.get_gesture_phase() == Clutter.TouchpadGesturePhase.UPDATE) {
-            let [dx, dy] = event.get_gesture_motion_delta(event);
+            let [dx, dy] = event.get_gesture_motion_delta();
 
             this._dx += dx;
             this._dy += dy;